#{extends 'main.html' /}
#{set title:'Settings' /}
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
<body>
	#{form @saveSettings()}
	    #{field 'connected.password'}
	        <p class="${field.errorClass}">
	            <strong>密码:</strong> 
	            <input type="password" name="password" size="16" value="${connected?.password}"> *
	            <span class="error">${field.error}</span>
	        </p>
	    #{/field}
	    #{field 'verifyPassword'}
	        <p class="${field.errorClass}">
	            <strong>核实密码:</strong> 
	            <input type="password" name="${field.name}" size="16" value="${verifyPassword}"> *
	            <span class="error">${field.error}</span>
	        </p>
	    #{/field}
	    
	    <p class="buttons">
	        <input type="submit" value="保存"> 
	        <a href="@{index()}">取消</a>    
	    </p>
	#{/form}
</body>